<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>设置账单地址界面</title>
    <style>
        .select_steam_commited_orders_shadow {
            /* display: none; */
            position: fixed;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            background-color: rgba(0, 0, 0, 0.2);
            font-size: 15px;
            user-select: none;
            z-index: 1000;
        }
        .select_steam_commited_orders_shadow .select_steam_commited_orders {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 500px;
            width: 595px;
            height: 500px;
            background-color: #fff;
            border-radius: 5px;
            padding: 20px;
            overflow-y: scroll;
            z-index: 1000;
        }
        .select_steam_commited_orders_shadow .topline {
            font-size: 14px;
        }
        .select_steam_commited_orders_shadow .topline > span:first-child {
            font-weight: 900;
        }
        .select_steam_commited_orders_shadow .steamCommitedOrdersTable {
            width: 100%;
            margin: 0 auto;
            font-size: 12px;
            white-space: nowrap;
        }
        .select_steam_commited_orders_shadow .orderID {
            width: 25%;
        }
        .select_steam_commited_orders_shadow .goodsName {
            width: 35%;
        }
        .select_steam_commited_orders_shadow .ST-Link {
            width: 15%;
        }
        .select_steam_commited_orders_shadow .steamCommitedOrdersTbody {
            display: none;
        }
        .select_steam_commited_orders_shadow .steamCommitedOrdersTbody tr {
            height: 40px;
        }
        .select_steam_commited_orders_shadow .loadingSteamCommitedOrdersTbody {
            text-align: center;
            padding: 100px;
        }
        .select_steam_commited_orders_shadow .btnline {
            text-align: center;
            padding-bottom: 10px;
            border-bottom: #00000040 solid 1px;
        }
        .select_steam_commited_orders_shadow button {
            color: #fff;
            background-color: rgb(63, 110, 190);
            padding: 3px 5px;
            border: none;
            margin-left: 10px;
        }
        .select_steam_commited_orders_shadow .bottomline {
            text-align: center;
            font-size: 12px;
            margin: 20px;
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
        }
    </style>
</head>
<body>
    <div class="select_steam_commited_orders_shadow">
        <div class="select_steam_commited_orders">
            <div class="topline">
                <span>我的订购单查询列表（Steam ID：
                    <span class="steamID">获取中...</span>
                    ，账号：
                    <span class="steamUserName">获取中...</span>
                    ）：
                </span>
                <span>
                    共
                    <span class="steamCommitedOrderCount">??</span>
                    个，$
                    <span class="steamCommitedAllOrderPrice">??</span>
                </span>
            </div>
            <table class="steamCommitedOrdersTable">
                <thead>
                    <tr>
                        <th class="orderID">订单号（点击取消求购）</th>
                        <th class="goodsName">饰品名称</th>
                        <th>求购价格</th>
                        <th>求购数量</th>
                        <th>剩余数量</th>
                        <th class="ST-Link">ST链接</th>
                    </tr>
                </thead>
                <tbody class="steamCommitedOrdersTbody">
                    ...
                </tbody>
            </table>
            <div class="loadingSteamCommitedOrdersTbody">
                正在加载中。。。。。。
            </div>
            <div class="btnline">
                <button>全部取消</button>
            </div>
            <div class="bottomline">
                My buy orders
            </div>
        </div>
    </div>
    <script>
        let box_shadow = document.querySelector('.select_steam_commited_orders_shadow');
        let box = document.querySelector('.select_steam_commited_orders');

        box_shadow.addEventListener('click', function (e) {
            box_shadow.style.display = 'none';
        });

        box.addEventListener('click', function (e) {
            e.stopPropagation();
        });
    </script>
</body>
</html>
